#ifndef __SERVER_H__
#define __SERVER_H__

enum Status {
	ERROR,
	OK
};

typedef struct server_t {
	int port;	// the port to listen on
} Server;

// private


// public
void server_init(Server * ps);
void server_destroy(Server * ps);
int server_loop(Server * ps);

// wsa
void wsa_init();
void wsa_destroy();

#endif // __SERVER_H__


